package com.wl.es7.study.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("car")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Car {


    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String brand;

    private Double minPrice;

    private Double maxPrice;

}
